package me.boot.db.mybatis.template.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import me.base.commom.model.pojo.BaseIdNamePOJO;

import java.util.Date;

/**
 * @Description:
 * @author: Sylar
 * @date: 2021年11月18日 10:00 上午
 */
@Getter
@Setter
public class EntityCreater extends BaseIdNamePOJO<Long> {

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8", locale = "zh")
    private Date createTime = new Date();

}
